package com.cfh.microserviceconsumermovie.fallbackconfig;

import feign.Feign;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Scope;

/**
 * 禁用hystrix
 *
 * @author chenfh
 * @date 2019/7/17
 */
//@Configuration
public class FeignDisableHystrixConfiguraion {
    @Bean
    @Scope("prototype")
    public Feign.Builder feignBuilder() {
        return Feign.builder();
    }
}
